<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

/*Route::resource('blog','index/Blog');*/
Route::resource('enquiry','np/enquiry'); //前台询价操作
Route::resource('apporder','np/OrderDetails'); //后台询价历史
Route::resource('appbank','np/Bank'); //后台询价历史
Route::resource('irecharge','np/Recharge'); //后台询价历史
Route::resource('message','np/Message'); //后台询价历史
Route::resource('appad','np/Advertising'); //后台询价历史
Route::resource('appin','np/Information'); //后台询价历史
Route::resource('ti','np/Ti'); //后台询价历史
Route::resource('zi','np/Zi'); //后台询价历史
Route::resource('bang','np/Bang'); //前台涨幅榜
Route::resource('pcrunning','np/Pcrunning'); //充值 提现记录 资金流水
Route::resource('appprotocol','np/Protocol'); //后台询价历史

Route::resource('penquiry','pc/enquiry'); //前台询价操作
Route::resource('papporder','pc/OrderDetails'); //后台询价历史
Route::resource('pappbank','pc/Bank'); //后台询价历史
Route::resource('pirecharge','pc/Recharge'); //后台询价历史
Route::resource('pmessage','pc/Message'); //后台询价历史
Route::resource('pappad','pc/Advertising'); //后台询价历史
Route::resource('pappin','pc/Information'); //后台询价历史
Route::resource('pti','pc/Ti'); //后台询价历史
Route::resource('pzi','pc/Zi'); //后台询价历史
Route::resource('pbang','pc/Bang'); //前台涨幅榜
Route::resource('ppcrunning','pc/Pcrunning'); //充值 提现记录 资金流水
Route::resource('pappprotocol','pc/Protocol'); //后台询价历史
Route::resource('qcode','np/Qcode'); //后台询价历史


Route::resource('outusers','out/users'); //前台用户
Route::resource('aenquiry','admin/aenquiry'); //后台询价历史
Route::resource('users','admin/users'); //后台用户数据
Route::resource('bank','admin/bank'); //后台询价历史
Route::resource('agent','admin/Agent'); //后台询价历史
Route::resource('staff','admin/Staff'); //后台询价历史
Route::resource('role','admin/Role'); //后台询价历史
Route::resource('orderdetails','admin/OrderDetails'); //后台询价历史
Route::resource('acclogs','admin/AccountLog'); //后台询价历史
Route::resource('privilege','admin/Privilege'); //后台询价历史
Route::resource('journal','admin/Journal'); //后台询价历史
Route::resource('recharge','admin/Recharge'); //后台询价历史
Route::resource('logs','admin/Logs'); //后台询价历史
Route::resource('generalize','admin/Generalize'); //后台询价历史
Route::resource('commission','admin/Commission'); //后台询价历史
Route::resource('statistics','admin/Statistics'); //后台询价历史
Route::resource('timu','admin/Timu'); //后台询价历史
Route::resource('ziran','admin/Ziran'); //后台询价历史
Route::resource('information','admin/Information'); //后台询价历史
Route::resource('ad','admin/Advertising'); //后台询价历史
Route::resource('protoco','admin/Protoco'); //后台询价历史
Route::resource('configs','admin/Configs'); //后台询价历史
Route::resource('site','admin/Site'); //后台询价历史
Route::resource('payment','admin/PaymentConfig'); //后台询价历史
Route::resource('plats','admin/Plats'); //后台询价历史
Route::resource('sms','admin/Smsconfig'); //后台询价历史
Route::resource('image','admin/Image'); //图片上传
Route::resource('sysmessage','admin/Message'); //后台系统消息
Route::resource('offer','admin/Offer'); //股票代码和报价维护
Route::resource('position','admin/Position'); //首页位置配置
Route::resource('pcsite','admin/Pcsite'); //首页位置配置
Route::resource('pimage','pc/image'); //首页位置配置
Route::resource('csite','pc/Pcsite'); //首页位置配置
Route::resource('myhelp','np/Help'); //首页位置配置
Route::resource('help','admin/Help'); //首页位置配置
Route::resource('payfor','admin/Payfor'); //首页位置配置

return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    '[hello]'     => [
        ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
        ':name' => ['index/hello', ['method' => 'post']],
    ],

];
